import request from '@/utils/request'

// 查询培训学校基础信息列表
export function listTraining(query) {
  return request({
    url: '/training/school/list',
    method: 'get',
    params: query
  })
}

// 查询培训学校基础信息详细
export function getTraining(id) {
  return request({
    url: '/training/school/' + id,
    method: 'get'
  })
}

// 修改培训学校基础信息
export function checkTraining(data) {
  return request({
    url: '/training/school/check',
    method: 'post',
    data: data
  })
}
